<?php
class Framework_DB_Table_MetaModule extends Framework_DB_Table_Common {
	
	public $tableName = 'MetaModule';
	
	public function __construct($db) {
   		
		    $this->col = array(
		   		// Primary Key
		        'idMetaModule' => array(
		            'type'    => 'varchar',
		        	'require' => true,
		        	'size'    => 64
		        ),
		        
		        // Description of the Module
				'moduleDescription' => array(
		            'type'    => 'clob',
		        	'require' => true
		        ),
		        
		        // Whether the module is active
				'moduleActive' => array(
		            'type'    => 'boolean',
		        	'require' => true
		        ),
		        
		        // Category of Module
				'moduleCategory' => array(
		            'type'    => 'varchar',
		        	'require' => true,
		        	'size'    => 64
		        ),
		        
		        // Alias for menu creation
				'moduleAlias' => array(
		            'type'    => 'varchar',
		        	'size'    => 64
		        ),
		        
		        // Name to use in admin menu
				'moduleSettingsName' => array(
		            'type'    => 'varchar',
		        	'size'    => 64
		        ),
		        
		        // Whether the module includes a Control Panel class
				'moduleSettingsCP' => array(
		            'type'    => 'boolean'
		        )
		            
		    );
	    
		    // Indexes
		    $this->idx = array(
		    	'idMetaModule'  =>  'primary'
		    );
   		
	    	parent::__construct($db);
	}
	
	
}

?>